package com.foreknow.demo9;

/**
 * @author shkstart
 * @create 2021-07-29 10:45
 */

/**
 * 自定义异常
 */
public class CustomException extends Exception {
    public CustomException(){

    }

    static final long serialVersionUID = -3387516993124229989L;
    //子类当中自定义的构造器，主要想调用父类中的构造器，打印异常的详细信息
    public CustomException(String s){
        super(s);
    }

}
